package com.qj.daibei.service;

import com.github.pagehelper.PageInfo;
import com.qj.daibei.pojo.Overdue;

import java.util.List;

/**
 * author wml
 * Created on 2021/10/28 20:51
 */
public interface OverdueService {

    List<Overdue> findOverdueAndShouldPayBack(Integer userId);

    PageInfo<Overdue> findOverdueAndShouldPayBackByPage(int pageNum, Integer userId);

    int insertOverdueByBatch(List<Overdue> list);

    int updateOverdueById(Overdue overdue);
}
